package com.alibaba.sdk.model.entity;

import com.alibaba.sdk.enums.UserTypeEnum;
import com.alibaba.sdk.model.BaseEntity;
import lombok.Data;

/**
 * 用户实体类
 *
 * @ writer Shawn(Shawn_0217@163.com)
 * @ date & time 2021/4/26 23:04
 * @ company alibaba
 */
@Data
public class User extends BaseEntity {

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 用户类型
     */
    private UserTypeEnum userType;

    /**
     * 姓名
     */
    private String name;

    /**
     * 手机号
     */
    private String phone;

    private static final long serialVersionUID = -3746813616384428794L;
}
